package cn.edu.zut.score.service;

import cn.edu.zut.score.core.constant.GroupInfoEnum;
import cn.edu.zut.score.core.domain.RestResponse;
import cn.edu.zut.score.core.entity.GroupInfo;
import cn.edu.zut.score.core.entity.Info;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author zby
 * @since 2021-06-25
 */
public interface IGroupInfoService extends IService<GroupInfo> {

    List<Info> getGroupNumbers(Long groupId);

    RestResponse<List<Info>> queryAllLeadersByRole(GroupInfoEnum groupInfoEnum);

    RestResponse<List<Info>> queryAllRemainTeachers(Long groupid);

    Integer removeByGroupId(Long groupid);

    RestResponse<List<Info>> getAllGroups();
}
